package com.scoring.system.mapper;

import java.util.List;

import com.scoring.system.pojo.Major;

public interface MajorMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Major record);

    int insertSelective(Major record);

    Major selectByPrimaryKey(Integer id);
    
    Major selectByName(String name);
    
    List<Major> listMajorByColleageId(Integer id);

    int updateByPrimaryKeySelective(Major record);

    int updateByPrimaryKey(Major record);
}